package com.wems.farm_manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wems.common.annotation.Excel;
import com.wems.common.core.domain.BaseEntity;

/**
 * 部门风场对应关系对象 tb_dept_farm_mapping
 * 
 * @author MPC
 * @date 2025-05-16
 */
public class DeptFarmMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID，自增 */
    private Long id;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptId;

    /** 风场 */
    @Excel(name = "风场")
    private Long farmId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setFarmId(Long farmId) 
    {
        this.farmId = farmId;
    }

    public Long getFarmId() 
    {
        return farmId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("farmId", getFarmId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
